<extend name="Public/base" />
<block name="body">
    <div class="main-title">
         <h2>{$meta_title}</h2>
    </div>
    <div class="tab-wrap with-padding">
       
        <div class="node-list">
            <div class="tab-pane in">
                <form action="__SELF__" method="POST" class="form-horizontal auth-form">
                 <input type="hidden" name="id" value="{$data[id]}" />
                 <input type="hidden" name="unit" value="{$tid}" />
                 <!-- <input type="text" name="unit" value="{$data.unit}" /> -->
                    <div class="form-item cf">
                        <label class="item-label">单位名称</label>

                        <div class="controls">
                            <span  class="text input-large form-control form-input-width"  placeholder="" >{$utitle}</span>
                                  
                        </div>

                    </div>
                    <div class="form-item cf">
                        <label class="item-label">缴费模式</label>

                        <div class="controls">
                            <select name="model" data-role="select_text" class="form-control" style="width:25%">
                                <option value="1" <if condition="$data.model eq 1">selected</if> >预交</option>
                                <option value="2" <if condition="$data.model eq 2">selected</if> >后交</option>
                            </select>      
                        </div>

                    </div>
                    <div class="form-item cf">
                        <label class="item-label">考勤模式(是否开启全勤/半勤模式)</label>

                        <div class="controls">
                            <select name="attendance_model" data-role="select_text" class="form-control" style="width:25%">
                                <option value="1" selected="selected">是</option>
                                <option value="0">否</option>
                            </select>      
                        </div>

                    </div>
                    <div class="form-item cf">
                        <label class="item-label">考勤天数限制</label>

                        <div class="controls">
                            <input type="number" min="0" class="text input-large form-control form-input-width" name="attendance_days" value="{$data.attendance_days}" placeholder="" >
                        </div>
                    </div>
                    <div class="form-item cf">
                        <label class="item-label">管理费/月</label>
                        <div class="controls">
                            <input type="number" min="0" class="text input-large form-control form-input-width" name="management_fee" value="{$data.management_fee}" placeholder="" >
                        </div>

                    </div>
                    <div class="form-item cf">
                        <label class="item-label">餐费/天</label>

                        <div class="controls">
                            <input type="number" min="0" class="text input-large form-control form-input-width" name="meals_fee" value="{$data.meals_fee}" placeholder="" >
                                  
                        </div>

                    </div>
                    <div style="margin-top: 20px;"></div>
                    <button type="submit" class="btn submit-btn " target-form="auth-form">{:L("_SURE_WITH_SPACE_")}</button>
                    <button class="btn btn-return" onclick="javascript:history.back(-1);return false;">{:L("_RETURN_WITH_SPACE_")}</button>
                    <!-- <input type="submit" name=""/> -->
                </form>
            </div>
        </div>
    </div>

</block>
<block name="script">
    <script type="text/javascript" src="__STATIC__/qtip/jquery.qtip.min.js"></script>
    <link rel="stylesheet" type="text/css" href="__STATIC__/qtip/jquery.qtip.min.css" media="all">
    <script type="text/javascript" charset="utf-8">
        //导航高亮
        highlight_subnav('{:U('index')}');
    </script>
</block>
